<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>LegendRecord (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="LegendRecord (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/LegendRecord.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/poi/hssf/record/chart/FrameRecord.html" title="class in org.apache.poi.hssf.record.chart"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../../org/apache/poi/hssf/record/chart/LineFormatRecord.html" title="class in org.apache.poi.hssf.record.chart"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/poi/hssf/record/chart/LegendRecord.html" target="_top">FRAMES</a></li>
<li><a href="LegendRecord.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.hssf.record.chart</p>
<h2 title="Class LegendRecord" class="title">Class LegendRecord</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/poi/hssf/record/RecordBase.html" title="class in org.apache.poi.hssf.record">org.apache.poi.hssf.record.RecordBase</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/poi/hssf/record/Record.html" title="class in org.apache.poi.hssf.record">org.apache.poi.hssf.record.Record</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html" title="class in org.apache.poi.hssf.record">org.apache.poi.hssf.record.StandardRecord</a></li>
<li>
<ul class="inheritance">
<li>org.apache.poi.hssf.record.chart.LegendRecord</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <strong>LegendRecord</strong>
extends <a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html" title="class in org.apache.poi.hssf.record">StandardRecord</a></pre>
<div class="block">Defines a legend for a chart.<p/></div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Andrew C. Oliver (acoliver at apache.org)</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#sid">sid</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#SPACING_CLOSE">SPACING_CLOSE</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#SPACING_MEDIUM">SPACING_MEDIUM</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#SPACING_OPEN">SPACING_OPEN</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#TYPE_BOTTOM">TYPE_BOTTOM</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#TYPE_CORNER">TYPE_CORNER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#TYPE_LEFT">TYPE_LEFT</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#TYPE_RIGHT">TYPE_RIGHT</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#TYPE_TOP">TYPE_TOP</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#TYPE_UNDOCKED">TYPE_UNDOCKED</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#LegendRecord()">LegendRecord</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#LegendRecord(org.apache.poi.hssf.record.RecordInputStream)">LegendRecord</a></strong>(<a href="../../../../../../org/apache/poi/hssf/record/RecordInputStream.html" title="class in org.apache.poi.hssf.record">RecordInputStream</a>&nbsp;in)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#clone()">clone</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getDataSize()">getDataSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getOptions()">getOptions</a></strong>()</code>
<div class="block">Get the options field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getSid()">getSid</a></strong>()</code>
<div class="block">return the non static version of the id for this record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getSpacing()">getSpacing</a></strong>()</code>
<div class="block">Get the spacing field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getType()">getType</a></strong>()</code>
<div class="block">Get the type field for the Legend record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getXAxisUpperLeft()">getXAxisUpperLeft</a></strong>()</code>
<div class="block">Get the x axis upper left field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getXSize()">getXSize</a></strong>()</code>
<div class="block">Get the x size field for the Legend record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getYAxisUpperLeft()">getYAxisUpperLeft</a></strong>()</code>
<div class="block">Get the y axis upper left field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#getYSize()">getYSize</a></strong>()</code>
<div class="block">Get the y size field for the Legend record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#isAutoPosition()">isAutoPosition</a></strong>()</code>
<div class="block">automatic positioning (1=docked)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#isAutoSeries()">isAutoSeries</a></strong>()</code>
<div class="block">excel 5 only (true)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#isAutoXPositioning()">isAutoXPositioning</a></strong>()</code>
<div class="block">position of legend on the x axis is automatic</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#isAutoYPositioning()">isAutoYPositioning</a></strong>()</code>
<div class="block">position of legend on the y axis is automatic</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#isDataTable()">isDataTable</a></strong>()</code>
<div class="block">1 if chart contains data table</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#isVertical()">isVertical</a></strong>()</code>
<div class="block">vertical or horizontal legend (1 or 0 respectively).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#serialize(org.apache.poi.util.LittleEndianOutput)">serialize</a></strong>(<a href="../../../../../../org/apache/poi/util/LittleEndianOutput.html" title="interface in org.apache.poi.util">LittleEndianOutput</a>&nbsp;out)</code>
<div class="block">Write the data content of this BIFF record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setAutoPosition(boolean)">setAutoPosition</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets the auto position field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setAutoSeries(boolean)">setAutoSeries</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets the auto series field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setAutoXPositioning(boolean)">setAutoXPositioning</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets the auto x positioning field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setAutoYPositioning(boolean)">setAutoYPositioning</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets the auto y positioning field value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setDataTable(boolean)">setDataTable</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets the data table field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setOptions(short)">setOptions</a></strong>(short&nbsp;field_7_options)</code>
<div class="block">Set the options field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setSpacing(byte)">setSpacing</a></strong>(byte&nbsp;field_6_spacing)</code>
<div class="block">Set the spacing field for the Legend record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setType(byte)">setType</a></strong>(byte&nbsp;field_5_type)</code>
<div class="block">Set the type field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setVertical(boolean)">setVertical</a></strong>(boolean&nbsp;value)</code>
<div class="block">Sets the vertical field value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setXAxisUpperLeft(int)">setXAxisUpperLeft</a></strong>(int&nbsp;field_1_xAxisUpperLeft)</code>
<div class="block">Set the x axis upper left field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setXSize(int)">setXSize</a></strong>(int&nbsp;field_3_xSize)</code>
<div class="block">Set the x size field for the Legend record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setYAxisUpperLeft(int)">setYAxisUpperLeft</a></strong>(int&nbsp;field_2_yAxisUpperLeft)</code>
<div class="block">Set the y axis upper left field for the Legend record.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#setYSize(int)">setYSize</a></strong>(int&nbsp;field_4_ySize)</code>
<div class="block">Set the y size field for the Legend record.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../../org/apache/poi/hssf/record/chart/LegendRecord.html#toString()">toString</a></strong>()</code>
<div class="block">get a string representation of the record (for biffview/debugging)</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.hssf.record.StandardRecord">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.hssf.record.<a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html" title="class in org.apache.poi.hssf.record">StandardRecord</a></h3>
<code><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html#getRecordSize()">getRecordSize</a>, <a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html#serialize(int, byte[])">serialize</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.hssf.record.Record">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.hssf.record.<a href="../../../../../../org/apache/poi/hssf/record/Record.html" title="class in org.apache.poi.hssf.record">Record</a></h3>
<code><a href="../../../../../../org/apache/poi/hssf/record/Record.html#cloneViaReserialise()">cloneViaReserialise</a>, <a href="../../../../../../org/apache/poi/hssf/record/Record.html#serialize()">serialize</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="sid">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sid</h4>
<pre>public static final&nbsp;short sid</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.sid">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_BOTTOM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_BOTTOM</h4>
<pre>public static final&nbsp;byte TYPE_BOTTOM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.TYPE_BOTTOM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_CORNER">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_CORNER</h4>
<pre>public static final&nbsp;byte TYPE_CORNER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.TYPE_CORNER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_TOP">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_TOP</h4>
<pre>public static final&nbsp;byte TYPE_TOP</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.TYPE_TOP">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_RIGHT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_RIGHT</h4>
<pre>public static final&nbsp;byte TYPE_RIGHT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.TYPE_RIGHT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_LEFT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_LEFT</h4>
<pre>public static final&nbsp;byte TYPE_LEFT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.TYPE_LEFT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_UNDOCKED">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_UNDOCKED</h4>
<pre>public static final&nbsp;byte TYPE_UNDOCKED</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.TYPE_UNDOCKED">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SPACING_CLOSE">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPACING_CLOSE</h4>
<pre>public static final&nbsp;byte SPACING_CLOSE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.SPACING_CLOSE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SPACING_MEDIUM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPACING_MEDIUM</h4>
<pre>public static final&nbsp;byte SPACING_MEDIUM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.SPACING_MEDIUM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SPACING_OPEN">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SPACING_OPEN</h4>
<pre>public static final&nbsp;byte SPACING_OPEN</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.poi.hssf.record.chart.LegendRecord.SPACING_OPEN">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="LegendRecord()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LegendRecord</h4>
<pre>public&nbsp;LegendRecord()</pre>
</li>
</ul>
<a name="LegendRecord(org.apache.poi.hssf.record.RecordInputStream)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LegendRecord</h4>
<pre>public&nbsp;LegendRecord(<a href="../../../../../../org/apache/poi/hssf/record/RecordInputStream.html" title="class in org.apache.poi.hssf.record">RecordInputStream</a>&nbsp;in)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="toString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/Record.html#toString()">Record</a></code></strong></div>
<div class="block">get a string representation of the record (for biffview/debugging)</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/hssf/record/Record.html#toString()">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/Record.html" title="class in org.apache.poi.hssf.record">Record</a></code></dd>
</dl>
</li>
</ul>
<a name="serialize(org.apache.poi.util.LittleEndianOutput)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serialize</h4>
<pre>public&nbsp;void&nbsp;serialize(<a href="../../../../../../org/apache/poi/util/LittleEndianOutput.html" title="interface in org.apache.poi.util">LittleEndianOutput</a>&nbsp;out)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html#serialize(org.apache.poi.util.LittleEndianOutput)">StandardRecord</a></code></strong></div>
<div class="block">Write the data content of this BIFF record.  The 'ushort sid' and 'ushort size' header fields
 have already been written by the superclass.<br/>

 The number of bytes written must equal the record size reported by
  <a href="../../../../../../org/apache/poi/hssf/record/RecordBase.html#getRecordSize()"><code>RecordBase.getRecordSize()</code></a>} minus four
  ( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
  by thye superclass).</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html#serialize(org.apache.poi.util.LittleEndianOutput)">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html" title="class in org.apache.poi.hssf.record">StandardRecord</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataSize</h4>
<pre>protected&nbsp;int&nbsp;getDataSize()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html#getDataSize()">getDataSize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/StandardRecord.html" title="class in org.apache.poi.hssf.record">StandardRecord</a></code></dd>
</dl>
</li>
</ul>
<a name="getSid()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSid</h4>
<pre>public&nbsp;short&nbsp;getSid()</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/Record.html#getSid()">Record</a></code></strong></div>
<div class="block">return the non static version of the id for this record.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/hssf/record/Record.html#getSid()">getSid</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/Record.html" title="class in org.apache.poi.hssf.record">Record</a></code></dd>
</dl>
</li>
</ul>
<a name="clone()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;java.lang.Object&nbsp;clone()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../../org/apache/poi/hssf/record/Record.html#clone()">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/poi/hssf/record/Record.html" title="class in org.apache.poi.hssf.record">Record</a></code></dd>
</dl>
</li>
</ul>
<a name="getXAxisUpperLeft()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXAxisUpperLeft</h4>
<pre>public&nbsp;int&nbsp;getXAxisUpperLeft()</pre>
<div class="block">Get the x axis upper left field for the Legend record.</div>
</li>
</ul>
<a name="setXAxisUpperLeft(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXAxisUpperLeft</h4>
<pre>public&nbsp;void&nbsp;setXAxisUpperLeft(int&nbsp;field_1_xAxisUpperLeft)</pre>
<div class="block">Set the x axis upper left field for the Legend record.</div>
</li>
</ul>
<a name="getYAxisUpperLeft()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYAxisUpperLeft</h4>
<pre>public&nbsp;int&nbsp;getYAxisUpperLeft()</pre>
<div class="block">Get the y axis upper left field for the Legend record.</div>
</li>
</ul>
<a name="setYAxisUpperLeft(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setYAxisUpperLeft</h4>
<pre>public&nbsp;void&nbsp;setYAxisUpperLeft(int&nbsp;field_2_yAxisUpperLeft)</pre>
<div class="block">Set the y axis upper left field for the Legend record.</div>
</li>
</ul>
<a name="getXSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXSize</h4>
<pre>public&nbsp;int&nbsp;getXSize()</pre>
<div class="block">Get the x size field for the Legend record.</div>
</li>
</ul>
<a name="setXSize(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXSize</h4>
<pre>public&nbsp;void&nbsp;setXSize(int&nbsp;field_3_xSize)</pre>
<div class="block">Set the x size field for the Legend record.</div>
</li>
</ul>
<a name="getYSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYSize</h4>
<pre>public&nbsp;int&nbsp;getYSize()</pre>
<div class="block">Get the y size field for the Legend record.</div>
</li>
</ul>
<a name="setYSize(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setYSize</h4>
<pre>public&nbsp;void&nbsp;setYSize(int&nbsp;field_4_ySize)</pre>
<div class="block">Set the y size field for the Legend record.</div>
</li>
</ul>
<a name="getType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;byte&nbsp;getType()</pre>
<div class="block">Get the type field for the Legend record.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>One of 
        TYPE_BOTTOM
        TYPE_CORNER
        TYPE_TOP
        TYPE_RIGHT
        TYPE_LEFT
        TYPE_UNDOCKED</dd></dl>
</li>
</ul>
<a name="setType(byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setType</h4>
<pre>public&nbsp;void&nbsp;setType(byte&nbsp;field_5_type)</pre>
<div class="block">Set the type field for the Legend record.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>field_5_type</code> - One of 
        TYPE_BOTTOM
        TYPE_CORNER
        TYPE_TOP
        TYPE_RIGHT
        TYPE_LEFT
        TYPE_UNDOCKED</dd></dl>
</li>
</ul>
<a name="getSpacing()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpacing</h4>
<pre>public&nbsp;byte&nbsp;getSpacing()</pre>
<div class="block">Get the spacing field for the Legend record.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>One of 
        SPACING_CLOSE
        SPACING_MEDIUM
        SPACING_OPEN</dd></dl>
</li>
</ul>
<a name="setSpacing(byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSpacing</h4>
<pre>public&nbsp;void&nbsp;setSpacing(byte&nbsp;field_6_spacing)</pre>
<div class="block">Set the spacing field for the Legend record.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>field_6_spacing</code> - One of 
        SPACING_CLOSE
        SPACING_MEDIUM
        SPACING_OPEN</dd></dl>
</li>
</ul>
<a name="getOptions()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptions</h4>
<pre>public&nbsp;short&nbsp;getOptions()</pre>
<div class="block">Get the options field for the Legend record.</div>
</li>
</ul>
<a name="setOptions(short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOptions</h4>
<pre>public&nbsp;void&nbsp;setOptions(short&nbsp;field_7_options)</pre>
<div class="block">Set the options field for the Legend record.</div>
</li>
</ul>
<a name="setAutoPosition(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoPosition</h4>
<pre>public&nbsp;void&nbsp;setAutoPosition(boolean&nbsp;value)</pre>
<div class="block">Sets the auto position field value.
 automatic positioning (1=docked)</div>
</li>
</ul>
<a name="isAutoPosition()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoPosition</h4>
<pre>public&nbsp;boolean&nbsp;isAutoPosition()</pre>
<div class="block">automatic positioning (1=docked)</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the auto position field value.</dd></dl>
</li>
</ul>
<a name="setAutoSeries(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoSeries</h4>
<pre>public&nbsp;void&nbsp;setAutoSeries(boolean&nbsp;value)</pre>
<div class="block">Sets the auto series field value.
 excel 5 only (true)</div>
</li>
</ul>
<a name="isAutoSeries()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoSeries</h4>
<pre>public&nbsp;boolean&nbsp;isAutoSeries()</pre>
<div class="block">excel 5 only (true)</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the auto series field value.</dd></dl>
</li>
</ul>
<a name="setAutoXPositioning(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoXPositioning</h4>
<pre>public&nbsp;void&nbsp;setAutoXPositioning(boolean&nbsp;value)</pre>
<div class="block">Sets the auto x positioning field value.
 position of legend on the x axis is automatic</div>
</li>
</ul>
<a name="isAutoXPositioning()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoXPositioning</h4>
<pre>public&nbsp;boolean&nbsp;isAutoXPositioning()</pre>
<div class="block">position of legend on the x axis is automatic</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the auto x positioning field value.</dd></dl>
</li>
</ul>
<a name="setAutoYPositioning(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoYPositioning</h4>
<pre>public&nbsp;void&nbsp;setAutoYPositioning(boolean&nbsp;value)</pre>
<div class="block">Sets the auto y positioning field value.
 position of legend on the y axis is automatic</div>
</li>
</ul>
<a name="isAutoYPositioning()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoYPositioning</h4>
<pre>public&nbsp;boolean&nbsp;isAutoYPositioning()</pre>
<div class="block">position of legend on the y axis is automatic</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the auto y positioning field value.</dd></dl>
</li>
</ul>
<a name="setVertical(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVertical</h4>
<pre>public&nbsp;void&nbsp;setVertical(boolean&nbsp;value)</pre>
<div class="block">Sets the vertical field value.
 vertical or horizontal legend (1 or 0 respectively).  Always 0 if not automatic.</div>
</li>
</ul>
<a name="isVertical()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVertical</h4>
<pre>public&nbsp;boolean&nbsp;isVertical()</pre>
<div class="block">vertical or horizontal legend (1 or 0 respectively).  Always 0 if not automatic.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the vertical field value.</dd></dl>
</li>
</ul>
<a name="setDataTable(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDataTable</h4>
<pre>public&nbsp;void&nbsp;setDataTable(boolean&nbsp;value)</pre>
<div class="block">Sets the data table field value.
 1 if chart contains data table</div>
</li>
</ul>
<a name="isDataTable()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isDataTable</h4>
<pre>public&nbsp;boolean&nbsp;isDataTable()</pre>
<div class="block">1 if chart contains data table</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the data table field value.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/LegendRecord.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/apache/poi/hssf/record/chart/FrameRecord.html" title="class in org.apache.poi.hssf.record.chart"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../../org/apache/poi/hssf/record/chart/LineFormatRecord.html" title="class in org.apache.poi.hssf.record.chart"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/poi/hssf/record/chart/LegendRecord.html" target="_top">FRAMES</a></li>
<li><a href="LegendRecord.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
